package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.domain.TRegisterDept;
import com.ruoyi.business.vo.TRegisterDeptVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 进修科室Mapper接口
 *
 * @author Tellsea
 * @date 2024-01-17
 */
public interface TRegisterDeptMapper extends BaseMapper<TRegisterDept> {

    Page<TRegisterDeptVo> queryList(Page<?> page, @Param("entity") TRegisterDeptVo entity);

    List<TRegisterDeptVo> queryList(@Param("entity") TRegisterDeptVo entity);

    TRegisterDeptVo queryById(@Param("id") Long id);

    String getMaxDeptNumber();
}
